package financial.sharing.center.invoice.service;

import financial.sharing.center.invoice.model.entity.Invoice;
import financial.sharing.center.invoice.model.entity.InvoiceDetail;

import java.math.BigDecimal;
import java.util.Map;

/**
 * @ClassName InvoiceDetailService
 * @Description TODO
 * @Author guoyuhang
 * @ @csdn https://blog.csdn.net/qq_40788718
 * @Date 2021/4/19
 * @Version 1.0
 */
public interface InvoiceDetailService {

    InvoiceDetail getInvoiceDetail(Invoice invoice);

    Integer createOneInvoiceDetail(InvoiceDetail invoiceDetail);

    Integer compileOneInvoiceDetail(InvoiceDetail invoiceDetail);

    Map<Integer, BigDecimal> getMapInvoiceDetail();
}
